package com.tj.shopping.entity;

import java.io.Serializable;

/**
 * (Carts)实体类
 * 购物车表
 * @author makejava
 * @since 2023-12-18 20:09:47
 */
public class Carts implements Serializable {
    private static final long serialVersionUID = -68639505424479199L;

    private Integer cno;//购物车编号

    private Integer gdno;//商品详情编号

    private Integer number;//商品数量

    private Integer uno;//用户id

    private String temp01;


    public Integer getCno() {
        return cno;
    }

    public void setCno(Integer cno) {
        this.cno = cno;
    }

    public Integer getGdno() {
        return gdno;
    }

    public void setGdno(Integer gdno) {
        this.gdno = gdno;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getUno() {
        return uno;
    }

    public void setUno(Integer uno) {
        this.uno = uno;
    }

    public String getTemp01() {
        return temp01;
    }

    public void setTemp01(String temp01) {
        this.temp01 = temp01;
    }

    public Carts() {
    }

    public Carts(Integer cno, Integer gdno, Integer number, Integer uno, String temp01) {
        this.cno = cno;
        this.gdno = gdno;
        this.number = number;
        this.uno = uno;
        this.temp01 = temp01;
    }

    @Override
    public String toString() {
        return "Carts{" +
                "cno=" + cno +
                ", gdno=" + gdno +
                ", number=" + number +
                ", uno=" + uno +
                ", temp01='" + temp01 + '\'' +
                '}';
    }
}

